/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package forTesting;

import corpus.Observer;

/**
 *
 * @author avishai
 */
public class Obs implements Observer {

    public void recive(Object sender, String msg) {
//        if (sender.getClass().getName().toLowerCase().contains("consumer")) {
//            System.err.println(msg);
//        } else {
            System.out.println(msg);
//        }
    }
}
